// 根据屏幕大小控制rem的监听器
export function remHandler(): void {
    const designWidth: number = 1920;
    const designHeight: number = 1080;
    const htmlWidth = document.documentElement.clientWidth;
    const htmlHeight: number = document.documentElement.clientHeight;
    const htmlDom = document.documentElement;
    const widthRatio = htmlWidth / designWidth;
    const heightRatio = htmlHeight / designHeight;
    htmlDom.style.fontSize = Math.min(widthRatio, heightRatio) * 20 + 3.3704 + "px";
}